<html lang="en">
<head>
    <meta charset="utf-8">
    <title>拔河</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1, user-scalable=no, width=device-width">
    <meta name="format-detection" content="telephone=no">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link href="/css/common/base.css" media="screen" rel="stylesheet" type="text/css">
    <link href="/css/common/msgbox.css" media="screen" rel="stylesheet" type="text/css">
    <link href="/fonts/iconfont.css" media="screen" rel="stylesheet" type="text/css">
    <link href="/css/plugins/fineuploader.css" media="screen" rel="stylesheet" type="text/css">
    <link href="/css/plugins/upload.css" media="screen" rel="stylesheet" type="text/css">
    <link href="/css/common.css" media="screen" rel="stylesheet" type="text/css">
    <link href="/css/settings.css" media="screen" rel="stylesheet" type="text/css">
</head>
<body>
<link href="/css/control.css" media="screen" rel="stylesheet" type="text/css">
<div class="container pr">
    <div class="btn start " id="start">开始游戏</div>
    <div class="btn nobody   <?php if($data['status'] == 1) echo 'active'; ?> " id="nobody">开始游戏</div>
    <div class="btn ongoing <?php if($data['status'] == 2) { echo 'active'; } ?>" id="ongoing">游戏进行中</div>
    <div class="btn again   <?php if($data['status'] == 3) { echo 'active'; } ?>" id="again">再来一次</div>
</div>

<input type="hidden" name="httpserver" value="<?php echo $data['http_server'];?>">
<script type="text/javascript" src="/js/common/jquery-1.12.0.min.js"></script>
<script type="text/javascript" src="/js/plugins/getElement.js"></script>
<script type="text/javascript" src="/js/mobile/control.js"></script>

<script type="text/javascript">
    $(function () {
        var obj = new control();
            obj.init();
    });
</script>
</body>
</html>